]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Generalize sharing indicator class
authorrobert.mader@collabora.com <robert.mader@collabora.com>
Fri, 28 Jul 2023 09:12:49 +0000 (12:12 +0300)
committerrobert.mader@collabora.com <robert.mader@collabora.com>
Sat, 29 Jul 2023 10:55:15 +0000 (13:55 +0300)
To have a shared style for various privacy related indicators.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2840>

data/theme/gnome-shell-sass/widgets/_panel.scss
js/ui/status/remoteAccess.js

index ee91d0d2169cee7fd3bf8e026a8116e63b2fbf63..bffa403307ef2c540c1a48c15b1cab87125187de 100644 (file)
@@ -100,9 +100,8 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
     spacing: 0;
   }
 
-  // indicator for active
-  .screencast-indicator,
-  .remote-access-indicator { color: $warning_color; }
+  // important privacy related indicators
+  .privacy-indicator { color: $warning_color; }
 }
 
 // App Menu
index 1a0451bf762801dfb62e1de4da22f594aba73d8a..d1d8856ecfe1f009aff59386f6172173e2f93c3a 100644 (file)
@@ -29,7 +29,7 @@ class RemoteAccessApplet extends SystemIndicator {
 
         this._indicator = this._addIndicator();
         this._indicator.icon_name = 'media-record-symbolic';
-        this._indicator.add_style_class_name('screencast-indicator');
+        this._indicator.add_style_class_name('privacy-indicator');
 
         controller.connect('new-handle', (o, handle) => {
             this._onNewHandle(handle);